<?php
Route::group(['namespace' => 'Frontend\V10', 'prefix' => 'b'], function () {
    Route::group(['namespace'=>'UnionLogin','prefix' => 'union_login'], function () {
        Route::post('fish_register','FishController@pusherInfoForWeb'); //小黑雨注册
    });
});

Route::group(['namespace' => 'Frontend\V10', 'prefix' => 'api/v10'], function () {

    Route::group(['namespace'=>'UnionLogin','prefix'=>'union_login'],function(){
        Route::post('fish','FishController@index'); //小黑鱼撞库
        Route::post('fish_register','FishController@pusherInfo'); //小黑雨注册

        Route::get('pro_index','ProvincialController@index');//省呗 测试
        Route::post('pro_index_register','ProvincialController@index_register');//省呗 注册生成密钥
        Route::post('pro_check','ProvincialController@check');//省呗 验证是否撞库
        Route::post('pro_user_register','ProvincialController@user_register');//省呗注册新用户

        Route::get('gather_index','GatherController@index');//聚好贷 测试
        Route::post('gather_check','GatherController@check');//聚好贷 验证是否撞库
        Route::post('gather_register','GatherController@user_register'); //聚好贷 注册新用户

        Route::get('wycard_index','WycardController@index');//51信用卡 测试
        Route::post('wycard_check','WycardController@check');//51信用卡 验证是否撞库
        Route::post('wycard_register','WycardController@user_register'); //51信用卡 注册新用户

        Route::post('yqg_test_hit','PiggyBankController@test_hit');//洋钱罐 测试
        Route::post('yqg_test_register','PiggyBankController@test_register');//洋钱罐 注册生成密钥
        Route::post('yqg_check','PiggyBankController@check');//洋钱罐 验证是否撞库
        Route::post('yqg_register','PiggyBankController@register'); //洋钱罐 注册新用户

        Route::post('baojie_test_hit','BaoJieController@test_hit');//保街 验证是否撞库
        Route::post('baojie_test_register','BaoJieController@test_register'); //保街 注册新用户
        Route::post('baojie_check','BaoJieController@check');//保街 验证是否撞库
        Route::post('baojie_register','BaoJieController@register'); //保街 注册新用户

        Route::post('helpwallet_test_hit','HelpWalletController@test_hit');//保街 验证是否撞库
        Route::post('helpwallet_test_register','HelpWalletController@test_register'); //保街 注册新用户
        Route::post('helpwallet_check','HelpWalletController@check');//保街 验证是否撞库
        Route::post('helpwallet_register','HelpWalletController@register'); //保街 注册新用户


    });
});



